/**
 * Echart按需加载
 * 使用:
 *  1. 项目中需要的组件进行释放(解开注释)
 *
 * 注意:
 *  1. 打包只会包含释放(解开注释)的组件, 减少打包文件大小
 *  2. 默认不安装echart依赖、请保证预先安装官方echart
 */

const echarts = require("echarts/lib/echarts");

// 以下所有组件按需引入
// require('echarts/lib/component/dataset');

require("echarts/lib/chart/line");

// require('echarts/lib/chart/bar');

// require('echarts/lib/chart/pie');

// require('echarts/lib/chart/scatter');

// require('echarts/lib/chart/radar');

// require('echarts/lib/chart/map');

// require('echarts/lib/chart/tree');

// require('echarts/lib/chart/treemap');

// require('echarts/lib/chart/graph');

// require('echarts/lib/chart/gauge');

// require('echarts/lib/chart/funnel');

// require('echarts/lib/chart/parallel');

// require('echarts/lib/chart/sankey');

// require('echarts/lib/chart/boxplot');

// require('echarts/lib/chart/candlestick');

// require('echarts/lib/chart/effectScatter');

// require('echarts/lib/chart/lines');

// require('echarts/lib/chart/heatmap');

// require('echarts/lib/chart/pictorialBar');

// require('echarts/lib/chart/themeRiver');

// require('echarts/lib/chart/sunburst');

// require('echarts/lib/chart/custom');

// require('echarts/lib/component/grid');

// require('echarts/lib/component/polar');

// require('echarts/lib/component/geo');

// require('echarts/lib/component/singleAxis');

// require('echarts/lib/component/parallel');

// require('echarts/lib/component/calendar');

// require('echarts/lib/component/graphic');

// require('echarts/lib/component/toolbox');

// require('echarts/lib/component/tooltip');

// require('echarts/lib/component/axisPointer');

// require('echarts/lib/component/brush');

// require('echarts/lib/component/title');

// require('echarts/lib/component/timeline');

// require('echarts/lib/component/markPoint');

// require('echarts/lib/component/markLine');

// require('echarts/lib/component/markArea');

// require('echarts/lib/component/legendScroll');

// require('echarts/lib/component/legend');

require("echarts/lib/component/dataZoom");

// require('echarts/lib/component/dataZoomInside');

// require('echarts/lib/component/dataZoomSlider');

// require('echarts/lib/component/visualMap');

// require('echarts/lib/component/visualMapContinuous');

// require('echarts/lib/component/visualMapPiecewise');

// require('zrender/lib/vml/vml');

// require('zrender/lib/svg/svg');

export default echarts;
